"""
启动文件
"""
from app import create_app
from conf.config import GetConf

api_host, api_port, api_debug = GetConf.get_api_data()

app = create_app()
# 推送上下文
app.app_context().push()

if __name__ == '__main__':
    app.run(host=api_host, port=api_port, debug=api_debug)
